import { Button, Tabbar, TabbarItem, NavBar } from "vant";

// Vant组件数组
export const vantComps = [Button, Tabbar, TabbarItem, NavBar];

// 遍历使用 Vant 组件的函数
export const mapVantCompFunc = (app) => {
  vantComps.map((comItem) => {
    app.use(comItem);
  });
};
